package xyz.fping.service.impl;

import org.springframework.stereotype.Component;
import xyz.fping.service.PaymentHystrixService;

/**
 * PaymentFallbackService
 *
 * @author fping
 * @date 2020/11/8 13:00
 */
@Component
public class PaymentFallbackService implements PaymentHystrixService {
    @Override
    public String paymentInfoOK(Integer id) {
        return "=================== fallback paymentInfoOK /(ㄒoㄒ)/~~";
    }

    @Override
    public String paymentInfoTimeout(Integer id) {
        return "=================== fallback paymentInfoTimeout /(ㄒoㄒ)/~~";
    }
}
